<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="../common/common.jsp"%>
<link rel="stylesheet" href="${ctx}/page/member/css/register.css" />
<script type="text/javascript" src="${ctx}/page/member/js/register.js"></script>
<title>注册</title>
</head>
<body>
		<%@ include file="../common/header.jsp"%>
		<div class="container">
			<div class="row">
		        <div class="col-md-offset-3 col-md-6 center-vertical">
		            <form class="form-horizontal">
		                <span class="heading">用户注册</span>
		                <div class="form-group">
		                    <input type="text" class="form-control" id="name" name="name" placeholder="用户名">
		                    <i class="fa fa-user"></i>
		                </div>
		                 <div class="form-group">
							<div class="input-group">
		                    	<input type="text" class="form-control" id="email" name="email" placeholder="邮箱">
		                    	<i class="fa fa-user"></i>
						      	<span class="input-group-btn">
						        	<button class="btn btn-info codeBtn" type="button" onclick="sendEmail()">发送验证码</button>
						      	</span>
						    </div>
					    </div>
		                <div class="form-group help">
		                    <input type="password" class="form-control" id="password" name="password" placeholder="密码">
		                    <i class="fa fa-lock"></i>
		                    <a href="#" class="fa fa-question-circle"></a>
		                </div>
		                <div class="form-group">
		                    <input type="text" class="form-control" id="code" name="code" placeholder="验证码">
		                    <i class="fa fa-user"></i>
		                </div>
		                <div class="form-group">
		                  	<span id="error_message"></span>
		                  	<p></p>
		                    <button type="button" class="btn btn-info registerBtn" onclick="register()">注册</button>
		                </div>
		            </form>
		        </div>
			</div>
		</div>
		<%@ include file="../common/footer.jsp"%>
	<script type="text/javascript">
		var returnUrl = "${returnUrl}";
	</script>
</body>
</html>